package cn.anlaser.form;

import java.awt.Color;
import java.awt.Font;
import java.io.File;

import javax.validation.constraints.NotNull;

import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.anlaser.type.FileTypeEnum;

@Data
@EqualsAndHashCode(callSuper = false)
public class UploadFileForm extends SimpleForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6891637049884278732L;
	@NotNull
	private FileTypeEnum type = FileTypeEnum.unknown;
	private String imageType;
	//
	private String savePath;
	private String httpUrl;
	@NotNull
	private Long fkId;

	private File distFile;

	private String memo;
	private Font font;
	private String fontName;
	private int fontStyle;
	private int fontSize;
	private Color color = Color.red;
	private int repeat;
	private float alpha = 3;
}
